﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace theguineasyndrome
{
    public class SceneryElement : LevelElement
    {
        public SceneryElement(Level level, Texture2D texture, Vector2 position)
            : base(level, texture, position)
        {

        }

        public override float Depth
        {
            get { return Bottom + ObstacleElement.DEPTH; }
        }

        public override bool isDynamic()
        {
            return false;
        }

        public override void queueDrawing(Camera camera)
        {
            if (camera.isVisible(rectangle))
                level.queueObjectDrawing(this);
        }
    }
}
